package com.bee2c.zas.home.timer;

import org.quartz.JobExecutionContext;
import org.springframework.beans.factory.annotation.Autowired;

import com.bee2c.pub.home.task.inter.TaskProcessService;
import com.bee2c.pub.quartz.JobSchedule;
import com.bee2c.pub.quartz.SerializableTimerJob;

/**
 * 订单自动分配
 */
@JobSchedule(fixedRate = 3 * 1000, desc = "测试ZAS定时器2")
public class ZasTestTimer2 extends SerializableTimerJob {

	@Autowired
	private TaskProcessService ZasTestInTask;

	int i = 1;

	@Override
	public String executeJob(JobExecutionContext context) throws Exception {
		//ZasTestInTask.createTask((i++) + "");
		return "bbbbbbbbbbbb";
	}
}
